package com.tre.jdevtemplateboot.domain.po;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 熊一鸣
 * @since 2023-11-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SpAuthCodeMst implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键uuid
     */
    @TableId
    private byte[] id;

    private String employeeAccount;

    /**
     * 验证码
     */
    private String code;

    /**
     * 验证码唯一key
     */
    private String key;

    private String companyId;

    private String createPerson;

    private LocalDateTime createDate;

    private String editPerson;

    private LocalDateTime editDate;

    public byte[] getId() {
        return id;
    }

    public void setId(byte[] id) {
        this.id = id;
    }
    public String getEmployeeAccount() {
        return employeeAccount;
    }

    public void setEmployeeAccount(String employeeAccount) {
        this.employeeAccount = employeeAccount;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public String getEditPerson() {
        return editPerson;
    }

    public void setEditPerson(String editPerson) {
        this.editPerson = editPerson;
    }
    public LocalDateTime getEditDate() {
        return editDate;
    }

    public void setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
    }

    @Override
    public String toString() {
        return "SpAuthCodeMst{" +
            "id=" + id +
            ", employeeAccount=" + employeeAccount +
            ", code=" + code +
            ", key=" + key +
            ", companyId=" + companyId +
            ", createPerson=" + createPerson +
            ", createDate=" + createDate +
            ", editPerson=" + editPerson +
            ", editDate=" + editDate +
        "}";
    }
}
